package com.jwgf.sdcard;

public interface SDInterface {
	public class DeviceType {
		public static final int DEVICE_SD = 0;
		public static final int DEVICE_USB = 1;
	}

	public class Request {
		public static final int GET_OLD_VERSION = 0;
		public static final int GET_NEW_VERSION = 1;
		public static final int UPGRADE = 2;
		public static final int BACKUP = 3;
		public static final int RECOVER = 4;
		public static final int DUMP_LOGS = 5;
	}

	public class RequestString {
		public static final String PACKAGE_NAME = "package_name";
		public static final String FILES_PATH = "files_path";
	}

	public class Respond {
		public static final int VERSION_OLD = 0;
		public static final int DEVICE_DOES_NOT_EXIST = 1;
		public static final int UPGRADE_FILE_DOES_NOT_EXIST = 2;
		public static final int VERSION_SAME = 3;
		public static final int VERSION_NEW = 4;
		public static final int OPERATING = 5;
		public static final int FINISH = 6;
	}

	public class RespondString {
		public static final String oldVersionStr = "oldVersion";
		public static final String newVersionStr = "newVersion";
	}

	public static final String SD_SERVICE_FILTER_NAME = "com.jwgf.sdservice.SDService.messenger";
	public static final String SD_SERVICE_COMPONENT_NAME = "com.jwgf.sdservice.SDService";
}
